package cn.lutu.protocol.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String content;
    private Long articleId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Long parentId;
    private Long userId;
    private Long categoryId;
}
